﻿using OpenAdmin.Core.DbContextLocators;
using OpenAdmin.Core.Models;

namespace OpenAdmin.EntityFramework.SeedDataConfigure;

public class SysPermissionSeedData : IEntityTypeSeedDataConfigure<SysPermission, ApplicationDbContextLocator>
{
    public IEnumerable<SysPermission> HasData(DbContext dbContext)
    {
        return SeedData.GetSysPermissions();
    }
}
